package Basic;

public class while2 {
    public static void main(String[] args){
		int number;
		do{
			number=(int)(Math.random()*10);
			System.out.println(number);
		}while(number!=5);
		System.out.println("I hit 5...");
	}
}
